package com.ml.mall.bean.req.product;

import com.ml.mall.bean.req.product.vo.ProductPicNewVO;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * Created by kyyang on 2021/5/15 16:32
 */
@Data
public class SysProductNewReq {

    @NotBlank(message = "productName is not null!")
    private String productName;

    @NotBlank(message = "categoryId is not null!")
    private String categoryId;

    @NotNull(message = "supplierId is not null!")
    private Long supplierId;

    @NotBlank(message = "description is not null!")
    private String description;

    @NotNull(message = "picArr is not null!")
    private List<ProductPicNewVO> picArr;

    //建议目录
    private String suggestCategory;

    //建议子目录
    private String suggestSubCategory;

    private String brand;



}
